<p:document xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:p="http://jboss.com/products/seam/pdf"
	 pageSize="A4" disposition="attachment" margins="14.17 14.17 14.17 14.17"  
	
	>
	       
<p:paragraph>
<p:font id="test" size="14">
<p:paragraph spacingAfter="50">UNIVERSIDAD CENTRAL DEL ECUADOR</p:paragraph>
 </p:font>
 <p:font id="test" size="12">
<p:text value="#{listadoDeClases.nombreDepartamento}" />
  </p:font>
  <p:font id="test" size="11">
BODEGA:<p:text value="#{listadoDeClases.bodega}" />  
ENCARGADO:<p:text value="#{listadoDeClases.encargadoDeBodega}">
</p:text>
  </p:font>
      
	<p:font id="test" size="11"><p:paragraph spacingAfter="50">
		Reporte de stock items                Fecha:<p:text value="#{listadoDeClases.fechaActual}" /> 
		</p:paragraph>
	</p:font>
	<p:font id="test1" size="8"  >
	<p:table columns="8"   widths="70 20 80 20 20 20 20 20 " widthPercentage="100">
		<p:cell width="500">
			<p:paragraph alignment="center" width="500">Grupo</p:paragraph>
		</p:cell>
		<p:cell>
			<p:paragraph alignment="center">Codigo</p:paragraph>
		</p:cell>
		<p:cell>
			<p:paragraph alignment="center">Items</p:paragraph>
		</p:cell>
		<p:cell>
			<p:paragraph>Unidad</p:paragraph>
		</p:cell>
		<p:cell>
			<p:paragraph>Costo Prom.</p:paragraph>
		</p:cell>
		<p:cell>
			<p:paragraph>Costo Total P.</p:paragraph>
		</p:cell>
		<p:cell>
			<p:paragraph>Precio Real</p:paragraph>
		</p:cell>
        <p:cell>
            <p:paragraph>Costo Total R.</p:paragraph>
        </p:cell>

		<ui:repeat value="#{listadoDeClases.stockActual}" var="data">
			<p:cell size="5"  fixedHeight="17"> 
				<p:paragraph size="5" width="500">#{data.IteGrupo}</p:paragraph>
			</p:cell>
			<p:cell size="5" fixedHeight="17">
				<p:paragraph>#{data.IteCodigo}</p:paragraph>
			</p:cell>
			<p:cell size="5" fixedHeight="17">
				<p:paragraph>#{data.IteNombre}</p:paragraph>
			</p:cell>
			<p:cell size="5" fixedHeight="17">
				<p:paragraph>#{data.IteCantidad}</p:paragraph>
			</p:cell>
			<p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.ItePrecioPromedio}</p:paragraph>
            </p:cell>
            <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.ItePrecioTotal}</p:paragraph>
            </p:cell>
                   <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.ItePrecioReal}</p:paragraph>
            </p:cell>
                   <p:cell size="5" fixedHeight="17">
                <p:paragraph>#{data.ItePrecioRealTotal}</p:paragraph>
            </p:cell>
    
		</ui:repeat>
	</p:table>
	</p:font>
	  </p:paragraph>
</p:document>
